package com.cyrus.vueboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyrus.vueboot.pojo.dpt.Department;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/11/24
 */
public interface DepartmentService extends IService<Department> {
    IPage search(Integer page, Integer size, String key);

    void delDepartments(Long[] ids);

    Department findDetailById(Integer id);

    void saveNewDpt(Department department);
}
